#ifndef WIDGETVARIANTENUM_H
#define WIDGETVARIANTENUM_H

#include <DefineLibUiQt.h>
#include <QtWidgets/QWidget>
#include <WidgetVariant.h>

namespace Ui {
class WidgetVariantEnum;
}

class LIB_UI_QT_DLL WidgetVariantEnum : public WidgetVariant
{
    Q_OBJECT

public:
    explicit WidgetVariantEnum(QWidget *parent = 0);
    virtual ~WidgetVariantEnum();
    virtual void performFilt();
    virtual void refreshByProperty( EItemMetaPropertyPtr p);
    virtual void buildConnect();
    virtual void clearConnect();

public slots:
    void slotCurrentIndexChanged(int index);
    void slotCurrentTextChanged(const QString &text);


private:
    Ui::WidgetVariantEnum *ui;
};

#endif //  WIDGETVARIANTENUM_H
